//
//  SLInformationAlertView.h
//  SulitLoanDemo
//
//  Created by 虞嘉伟 on 2025/2/22.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class SLInformationAlertView;
@protocol SLInformationAlertViewDataSource <NSObject>

- (UIView *)informationAlert:(SLInformationAlertView *)alertView;

@end


@interface SLInformationAlertView : UIView

@property (nonatomic, strong) UIView *content;
@property (nonatomic, strong) UIView *pannel;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UIButton *closeButton;
@property (nonatomic, strong) UIImageView *decorate;
@property (nonatomic, strong) UIView *customView;
@property (nonatomic, strong) UIButton *confirmButton;

@property (nonatomic, copy  ) void(^confirmButtonCallback)(id obj);

// override
- (void)confirmButtonAction:(UIButton *)button;
@end





NS_ASSUME_NONNULL_END
